import Vue from 'vue'
import App from './App.vue'
import router from './router'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
// 导入全局样式表
import './assets/css/globel.css'

//引入axios 
import axios from 'axios'
//配置请求路径
axios.defaults.baseURL = 'http://shuimui-szsmjr.com/api/'
axios.defaults.headers.post['Content-type'] = 'multipart/form-data'

// 引入自适应文件
import 'lib-flexible';

Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.prototype.$http = axios
new Vue({
  router,
  render: h => h(App)
}).$mount('#app')
